import { requestGet, requestPost } from "./request/request"


/**
 * 
 * @param obj 点击答题卡 获取答题卡详情
 */
export  const getSingleDatika=(obj:any)=>{
    return  requestGet("api/Exam/getSingleDatika",obj);
}


/**
 * 
 * @param obj 获取试题列表(获取可用试卷) 安排页面使用
 */
export  const getArranges=(obj:any)=>{
     return  requestGet("api/Exam/GetArranges",obj);
}


/**
 * 
 * @param obj 获取组织列表
 */
export  const getOrganizations=(obj:any)=>{
    return  requestGet("api/Organization/getOrganizations",obj);
}


/**
 * 
 * @param obj 新增安排考试
 */
export  const AddArrange=(obj:any)=>{
    return  requestPost("api/Exam/AddArrange",obj);
}

/**
 * 
 * @param obj 删除安排考试
 */
export  const deleteArranges=(obj:any)=>{
    return  requestPost("api/Exam/deleteArranges",obj);
}


/**
 * 
 * @param obj 点击去阅卷查询数据
 */
export  const getSingleArrange=(obj:any)=>{
    return  requestGet("api/Exam/getSingleArrange",obj);
}


/**
 * 
 * @param obj 确认阅卷
 */
export  const yueJuan=(obj:any)=>{
    return  requestPost("api/Exam/yueJuan",obj);
}


